xen/x86: Add -Wnested-externs to CFLAGS
authorTim Deegan <Tim.Deegan@citrix.com>
Fri, 27 May 2011 07:56:47 +0000 (08:56 +0100)
committerTim Deegan <Tim.Deegan@citrix.com>
Fri, 27 May 2011 07:56:47 +0000 (08:56 +0100)
commitdc74142c5a0300e33c1d478c63d0fbdf06ed49a2
tree53cdb9e6182614419ea64bb78b4b332c4f243d09
parentf87806bcecfdd4d57bc1b543045ce3bfa84332a4
xen/x86: Add -Wnested-externs to CFLAGS

This will catch any new extern declarations that happen actually
inside function bodies.  Unfortunately there's no equivalent
warning for extern declarations at rootl level in .c files.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/Rules.mk